let requestUtil = require('@/api/http/request.js');

//保存电子围栏接口
export const saveFenceAPI = (params) => {
	return requestUtil('/iot-device-saas-car/carelectronicfence/save', 'post',params, '');
}

//关闭电子围栏接口
export const closeFenceAPI = (params) => {
	return requestUtil('/iot-device-saas-car/carelectronicfence/remove', 'post',params, '');
}

//行驶轨迹分页接口
export const getTravelingTrackListAPI = (params) => {
	return requestUtil('/iot-device-saas-car/carrunlocus/page', 'get',params, '');
}


//车辆行驶轨迹
export const getTravePathAPI = (id) => {
	return requestUtil('/iot-device-saas-car/carrunlocus/getLocus', 'get',{id:id}, '请求中');
}

